//
//  MyfavThreadController.m
//  QQplayground
//
//  Created by zhangxy on 2018/8/30.
//  Copyright © 2018年 zhang. All rights reserved.
//

#import "MyfavThreadController.h"
#import "TalkListController.h"

@interface MyfavThreadController ()

@end

@implementation MyfavThreadController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    self.navigationItem.title = _entity.nav_name;
    
    [self setNavigationBar];
    
    self.navigationController.navigationBarHidden = NO;
    
    [self.view setBackgroundColor:UIColorFromRGB(BgSystemColor)];
    
    TalkListController *dvc = [[TalkListController alloc] init];
    [dvc setEntity:_entity];
    [dvc.view setFrame:self.view.bounds];
    [self.view addSubview:dvc.view];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
